/*
 *
 *  * Copyright 2017 fenbi.com. All rights reserved.
 *  * FENBI.COM PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 */

package com.fenbi.android.zebraenglish.misc.activity

import android.os.Bundle
import android.widget.FrameLayout
import androidx.fragment.app.FragmentActivity
import com.potter.provision.WebViewFragment
import com.wkm.myapplication.R

/**
 * TODO 简要描述
 * @author chaochaowu @ Zebra Inc.
 * @since 11-25-2021
 */
class WebViewActivity : FragmentActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_webview)
        val frame = findViewById<FrameLayout>(R.id.webview)

        supportFragmentManager.beginTransaction()
            .add(R.id.webview, WebViewFragment())
            .commit()
    }

}